package com.rf.richfitwheel.admin.sys.model;

import java.io.Serializable;
import java.util.Date;

/**
 * Author bw
 * Date  2019-05-05
 */
public class CodeRule implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String code;
    private String name;
    private String kind;
    private String rule;
    private Integer position;
    private String snloop;
    private Integer snsize;
    private Integer snmin;
    private Integer snmax;
    private String notes;
    private Integer version;
    private String snfixlen;
    private String divisor;
    private Date createtime;


    public CodeRule(){
    }

    public void setId (String id) {this.id = id;} 
    public String getId(){ return id;} 
    public void setCode (String code) {this.code = code;} 
    public String getCode(){ return code;} 
    public void setName (String name) {this.name = name;} 
    public String getName(){ return name;} 
    public void setKind (String kind) {this.kind = kind;} 
    public String getKind(){ return kind;} 
    public void setRule (String rule) {this.rule = rule;} 
    public String getRule(){ return rule;} 
    public void setPosition (Integer position) {this.position = position;} 
    public Integer getPosition(){ return position;} 
    public void setSnloop (String snloop) {this.snloop = snloop;} 
    public String getSnloop(){ return snloop;} 
    public void setSnsize (Integer snsize) {this.snsize = snsize;} 
    public Integer getSnsize(){ return snsize;} 
    public void setSnmin (Integer snmin) {this.snmin = snmin;} 
    public Integer getSnmin(){ return snmin;} 
    public void setSnmax (Integer snmax) {this.snmax = snmax;} 
    public Integer getSnmax(){ return snmax;} 
    public void setNotes (String notes) {this.notes = notes;} 
    public String getNotes(){ return notes;} 
    public void setVersion (Integer version) {this.version = version;} 
    public Integer getVersion(){ return version;} 
    public void setSnfixlen (String snfixlen) {this.snfixlen = snfixlen;} 
    public String getSnfixlen(){ return snfixlen;} 
    public void setDivisor (String divisor) {this.divisor = divisor;} 
    public String getDivisor(){ return divisor;}
	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	@Override
	public String toString() {
		return "CodeRule [id=" + id + ", code=" + code + ", name=" + name + ", kind=" + kind + ", rule=" + rule
				+ ", position=" + position + ", snloop=" + snloop + ", snsize=" + snsize + ", snmin=" + snmin
				+ ", snmax=" + snmax + ", notes=" + notes + ", version=" + version + ", snfixlen=" + snfixlen
				+ ", divisor=" + divisor + ", createtime=" + createtime + "]";
	}

	
	
    
    

}